import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

import config from 'utils/config.js'

Vue.prototype.$config = config
import http from 'utils/http.js'

Vue.prototype.$http = http
import util from 'utils/util.js'

Vue.prototype.$util = util

import uView from "uview-ui";

Vue.use(uView);


import tabbar from "components/tabbar/tabbar.vue"
import navigabar from "components/tabbar/navigabar.vue"
// 注册全局组件
Vue.component('tabbar', tabbar)
Vue.component('navigabar', navigabar)


Vue.prototype.$eventBus = new Vue()

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
